package com.profiloc.model;

import net.rim.device.api.util.Persistable;

public final class Profile implements Persistable{

	/*
	 * Profile model class
	 * that save user defined profiles
	 * to blackberry local database
	 */
	
	private String name;
	
	private double latitude;
	
	private double longitude;

	private String profileType;
	
	private boolean acceptCalls;
	

	private long startTime;
	
	private long endTime;
	
	private int refreshTime;
	
	public int getRefreshTime() {
		return refreshTime;
	}

	public void setRefreshTime(int refreshTime) {
		this.refreshTime = refreshTime;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public long getEndTime() {
		return endTime;
	}

	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}
	
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public String getProfileType() {
		return profileType;
	}

	public void setProfileType(String profileType) {
		this.profileType = profileType;
	}

	public boolean getAcceptCalls() {
		return acceptCalls;
	}

	public void setAcceptCalls(boolean acceptCalls) {
		this.acceptCalls = acceptCalls;
	}

}
